Skip to content

feat(id): id serve loads ServerConfig + startup provisioning (#5119 slice 1) - #7311

Closed
developing-today[bot] wants to merge 1 commit into
mainfrom
queue/8839-5119-serve-serverconfig
Closed

developing-today[bot] wants to merge 1 commit into
mainfrom
queue/8839-5119-serve-serverconfig

Conversation

@developing-today

@developing-today developing-today Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Opened by the branch-disposition execution (2026-11-07) from branch queue/8839-5119-serve-serverconfig.

Branch origin: queue branch for issue #8839.
This branch was laptop-local work (or a stranded remote branch) with real changes ahead of main and no PR. Per Drew's 2026-11-07 branch-disposition ruling, ahead branches with real changes get a PR; this PR surfaces the work for triage instead of leaving it stranded on a branch.

Triage owner: batch issue #7297 — outcome per batch triage: close with reason, or route to impl/finish/merge as a follow-on fix task.

Evidence: branch-ahead review ~/workspace/scratch/branch-ahead-review-2026-11-07.md; execution log ~/workspace/scratch/branch-disposition-2026-11-07.md.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…lice 1)

Adds --server-config <path> to id serve (cli.rs -> ServeOptions -> cmd_serve). When given, serve loads the config before any startup work via start_server_config: ServerConfig::load failures fail startup naming the parse error and path, and Provisioned::apply runs from the loaded config with the report on the startup status line. The loaded config/provisioning stay in startup scope for the pull-gate and freshness slices. No flag = no file read, behaviour unchanged. Without the world feature the flag fails loudly like --web does. Tests: provisioning applied (2 users/1 group/1 member, idempotent second apply), malformed and missing files fail startup, flag defaults to None.
@developing-today
developing-today Bot requested review from a team and dezren39 as code owners November 8, 2026 05:28
@coderabbitai

coderabbitai Bot commented Nov 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: abbb0c91-42e8-45bf-a102-f263409791ff

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member

Closed as superseded by the branch-disposition batch triage (queue task 12911, batch issue #7297, part 9 of 9).

This PR re-presents branch queue/8839-5119-serve-serverconfig. Its patch is already on main: git cherry origin/main queue/8839-5119-serve-serverconfig against origin/main 0a27a7f19f (2026-11-08) shows 0 unique commits — the commit is patch-equivalent to a90fb771bb (#5187) on main. Nothing unique to salvage; the branch is left intact (not deleted outside the PR flow), and no further action is needed for this item.

@dezren39
dezren39 deleted the queue/8839-5119-serve-serverconfig branch November 8, 2026 13:25
@dezren39

dezren39 commented Nov 8, 2026

Copy link
Copy Markdown
Member

🤖 Agent note · already done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant